package com.ywm.eduService.client;

import com.ywm.commonUtil.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-vod")
@Component
public interface VodClient {
    //根据视频ID删除视频
    @DeleteMapping("/eduvod/vod/removeAlyVideo/{id}")
    R removeAlyVideo(@PathVariable("id") String id);

    @GetMapping("/eduvod/vod/test")
    R test();
}
